--- 
layout: default 
--- 
<!-- Navi -->
{% for cat in site.all_categories %}
{% if page.category == cat[0] %}
	<a href="/">首页</a>&nbsp;>&nbsp;<a href="{{cat[2]}}">{{cat[1]}}</a>&nbsp;>&nbsp;正文
{% endif %}
{% endfor %}

<!-- Title -->
<h2>
  {{ page.title }}
  <div class="post-date">
	<span class="glyphicon glyphicon-time"></span>
	{{ page.date | date:"%Y-%m-%d" }}
  </div>
</h2>
<hr>

{{ content }}
<br/>
<b>原创文章，转载请注明出处，并包含下面的二维码！否则拒绝转载！</b>
<br/>
<b>本文链接：</b><a href="{{site.url}}{{page.url}}" title="{{page.name}}">{{site.url}}{{page.url}}</a>

<br/>
<div style="text-align:center">
<img src="/assets/my_weixin_sign_sf_840.jpg" style="width:400px" alt="我的微信公众号: tielei-blog (张铁蕾)" />
</div>

<!-- next and previous -->
<div style="margin-top:15px; margin-bottom:10px">
  {%if page.previous%}
  <span class="next">
    上篇：
    <a href="{{page.previous.url}}">
      {{page.previous.title}}
    </a>
  </span>
  {%endif%} 
  {%if page.next%}
  <div style="float:right">
  <span class="prev" >
    下篇：
    <a href="{{page.next.url}}">
      {{page.next.title}}
    </a>
  </span>
  </div>
  {%endif%}
</div>
<hr>
<!-- Blog Comments -->
<div class="media">
  {% include comment.html %} 
</div>
